//
//  FWAuthViewController.h
//  FWShare
//
//  Created by 范文青 on 14-6-14.
//  Copyright (c) 2014年 fwq. All rights reserved.
//

#import <UIKit/UIKit.h>
@class FWAuthUser;
@interface FWAuthViewController : UIViewController
{
    
}
- (instancetype)initWithPlatform:(NSString *)platform;
@property (nonatomic,readonly)NSString   *platform;
@property (nonatomic,readonly)UIWebView  *authWebView;

@property (nonatomic,assign) BOOL forceAuth;
- (void)auth;


@property (nonatomic,copy)void (^authSuccess)(FWAuthUser *user,NSString *platform);

@property (nonatomic,copy)void (^authCanceled)(NSString *platform);

@property (nonatomic,copy)void (^authFailed)(NSError *error,NSString *platform);
@end
